﻿using System;

namespace Infornamation
{

    public class Question
    {
        public int Id { set; get; }
        public string Content { set; get; }
        public DateTime CreationTime { set; get; }
        public DateTime ExpirationTime{set;get;}  
        public Boolean Readed { set; get; }
        public Question()
        {

        }
       public Question(string content)
        {
            CreationTime = new DateTime();
            ExpirationTime = CreationTime.AddDays(1);
            this.Content = content;
        }

    }
}
